// 所有关于视频的接口
import request from '../utils/request'
// 上传视频接口
export function upVideoApi(data) {
    return request("/VueHandler/UpLoadVideoHandler", "post", data, "mul")
}
// 添加视频
export function addVideoApi(data) {
    return request("/VueHandler/VideoHandler?action=add", "post", data)
}
//获取视频列表接口
export function getVideoList(data) {
    return request("/VueHandler/VideoHandler?action=showlist", "post", data)
}
// 编辑视频接口
export function editVideo(data) {
    return request("/VueHandler/VideoHandler?action=update", "post", data)
}
//删除视频
export function delVideo(ID) {
    return request("/VueHandler/VideoHandler?action=delete", "get", { ID: ID })
}